<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}
        <link href="/admin/vendor/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <div class="col-lg-12">
		    <form role="form" class="form" action="insert" method="post" >
                <div class="col-lg-3 col-sm-3">
                    <div class="form-group">
                        
		                <label>名字：</label>
		                <input type="text" class="form-control" name="name">
                    </div>
                    <div class="form-group">
		                <label>别名：</label>
		                <input type="text" class="form-control" name="subname">
		            </div>
		            <div class="form-group">
		                <label>登录账号：</label>
		                <input type="text" class="form-control" name="login">
		            </div>
		            <div class="form-group">
		                <label>登录密码：</label>
		                <input type="text" class="form-control" name="password">
		            </div>
		            <div class="form-group">
		                <label>性别：</label>
                        <select name="sex" class="form-control">
                            <option value="0">女</option>
                            <option value="1">男</option>
                            <option value="2">其他</option>
                        </select>
                    </div>
		        </div>
                <div class="col-lg-3 col-sm-3">
		            <div class="form-group">
		                <label>入训时间：</label>
		                <input type="text" class="form-control date" name="enter"  id="entertime">

		            </div>
		            <div class="form-group">
		                <label>结训时间：</label>
		                <input type="text" class="form-control date" name="end" id="endtime">
		            </div>
                    <div class="form-group">
		                <label>手机号码：</label>
		                <input type="text" class="form-control" name="tel">
		            </div>
		            <div class="form-group">
		                <label>邮箱：</label>
		                <input type="text" class="form-control" name="email">
		            </div>
		            <div class="form-group">
		                <label>QQ号码：</label>
		                <input type="text" class="form-control" name="qq">
		            </div>                            
                </div>
                <div class="col-lg-6 col-sm-6">
                    <div class="form-group">
		                <label>详细地址</label>
		                <input type="text" class="form-control" name="address">
		            </div>
		            <div class="form-group">
		                <input type="submit" class="btn btn-primary" value="确定">
		            </div>
                </div>
                <div class="clearfix"></div>
		    </form>
        </div>
        {include file="public/board" /}
        {include file="public/javascript"}
        <script src="/admin/vendor/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
        <script src="/admin/vendor/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
        <script src="/admin/js/jquery.form.js"></script>
        <script>
         $('#entertime,#endtime').datetimepicker({
             language:"zh-CN", //汉化
             todayBtn : true,  //显示今天按钮
             autoclose : true,   //选择日期后自动关闭日期选择框
             minView: "month",   //不显示时分秒
             showMeridian: 1,
             format: 'yyyy-mm-dd'
         });
        </script>
    </body>
</html>
